package com.example.security.component;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/** 
 *  @author: LiYuhang 
 *  @Date: 2021/3/21
 *  @version: 0.1 
 *  @Description :
 */
@Component
public class MyApplicationRunner implements ApplicationRunner {

    private static final Logger logger = LoggerFactory.getLogger(MyApplicationRunner.class);

    @Override
    public void run(ApplicationArguments args) throws Exception {
        MyApplicationConfig.printServerInfo(logger);
    }


}